package com.macrounion.atv.service.entity;

import com.macrounion.base.service.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;

/**
 * 注册码reg
 * @author Administrator 2020-11-05
 */
@ApiModel(value = "注册码", description = "注册码")
public class Reg extends BaseEntity implements Serializable {
    /**
     * 机器码
     */
    @ApiModelProperty(value = "机器码")
    private String keys;

    /**
     * 注册码
     */
    @ApiModelProperty(value = "注册码")
    private String regcode;

    /**
     * reg
     */
    private static final long serialVersionUID = 1L;

    /**
     * 机器码
     * @return 机器码
     */
    public String getKeys() {
        return keys;
    }

    /**
     *
     * @mbg.generated
     */
    public Reg withKeys(String keys) {
        this.setKeys(keys);
        return this;
    }

    /**
     * 机器码
     * @param keys 机器码
     */
    public void setKeys(String keys) {
        this.keys = keys == null ? null : keys.trim();
    }

    /**
     * 注册码
     * @return 注册码
     */
    public String getRegcode() {
        return regcode;
    }

    /**
     *
     * @mbg.generated
     */
    public Reg withRegcode(String regcode) {
        this.setRegcode(regcode);
        return this;
    }

    /**
     * 注册码
     * @param regcode 注册码
     */
    public void setRegcode(String regcode) {
        this.regcode = regcode == null ? null : regcode.trim();
    }

    /**
     *
     * @mbg.generated
     */
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", keys=").append(keys);
        sb.append(", regcode=").append(regcode);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}